package com.star.percalservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.star.percalservice.model.dto.UserDTO;
import com.star.percalservice.model.entity.User;
import com.star.percalservice.utils.R;

/**
 * @author star
 * @version 1.0
 * @Description:
 * @DateTime 2025/4/11 23:35
 */

public interface UserService {
    R login(String username, String password);

    R register(User user);

    R list(UserDTO.UserListDTO userListDTO);

    R add(User user);

    R update(User user);

    R changePassword(Integer id, String password);
}
